# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
from PyQt5.QtCore import QPoint, Qt, QCoreApplication, pyqtSlot
from PyQt5.QtGui import  QBrush, QPixmap, QColor, QPainter,QIcon,QPolygon
from PyQt5 import QtWidgets,QtCore
from PyQt5.QtCore import pyqtSignal
import logging
class MyWidget(QtWidgets.QWidget):
    def __init__(self,label="",text="",parent=None):
        super().__init__(parent)
        self.l=QtWidgets.QLabel(self)
        self.l.setText(label)
        self.t=QtWidgets.QLineEdit(self)
        self.t.setText(text)
        self.h=QtWidgets.QHBoxLayout(self)
        self.h.addWidget(self.l)
        self.h.addWidget(self.t)
